<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		.box{
			width:180px;
			height: 300px;
			background: green;
			padding-left:160px;
			padding-right: 160px;
			border: 10px solid red;
	</style>
</head>
<body>
	<div class="box"><img src="1.jpg" ></div>
</body>
</html>